Changing Flag Attributes |
Using Air Friction To Slow Things DownOverviewWe don't live in a vacuum. Well, I don't live in a vacuum. And this means that, in my world, there are all sorts of particles and dynamic forces that cause friction to a flag blowing in the wind. Therefore, a flag will never move quite as much as the wind would like it to. The Air Friction parameter can be used to control how the flag reacts to the environment (wind, gravity, etc.). With no friction, the flag may blow wildly, even with a light wind. With a lot of friction, the flag may not respond to wind or gravity very much. In general a small amount of Air Friction will help keep the flag under control. Removing FrictionThe default value for Air Friction is 5 (percent). This means that, at each frame, the flag will only undulate about 95% of what wind and gravity tell it to. Let's see how the flag reacts when there is no friction.
Adding A Lot of FrictionNow let's see what happens when we set the air friction to a high value.
Depending on the size of your mesh, a higher Air Friction can create more folds in the flag as it undulates. Usually, Air Friction values in the range of 0 to75 are sufficient. Now that you've learned about the different parameters that affect a flag's look, How To Make Flags Look Large will show you how to use the different parameters to create flags that look big.
|